package sk.naive.talker.props;

import java.util.Set;
import java.io.Serializable;

/**
 * RemoteProperty .
 * 
 * @author <a href="mailto:virgo@naive.deepblue.sk">Richard "Virgo" Richter</a>
 * @version $Revision: 1.1 $ $Date: 2004/04/25 08:11:55 $
 */
public class RemoteProperty extends SimpleProperty
	implements Serializable
{
	protected Set validValues;
	private Object defaultValue;

	public RemoteProperty(Set validValues, Object defaultValue) {
		this.defaultValue = defaultValue;
		this.validValues = validValues;
	}

	public Set validValues() {
		return validValues;
	}

	public Object defaultValue() {
		return defaultValue;
	}
}
